﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000567 RID: 1383
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FightMatch3ForceUpdateNotify : IMessage<FightMatch3ForceUpdateNotify>, IMessage, IEquatable<FightMatch3ForceUpdateNotify>, IDeepCloneable<FightMatch3ForceUpdateNotify>, IBufferMessage
	{
		// Token: 0x170011C2 RID: 4546
		// (get) Token: 0x06003E1D RID: 15901 RVA: 0x000AAADD File Offset: 0x000A8CDD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FightMatch3ForceUpdateNotify> Parser
		{
			get
			{
				return FightMatch3ForceUpdateNotify._parser;
			}
		}

		// Token: 0x170011C3 RID: 4547
		// (get) Token: 0x06003E1E RID: 15902 RVA: 0x000AAAE4 File Offset: 0x000A8CE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FightMatch3ForceUpdateNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170011C4 RID: 4548
		// (get) Token: 0x06003E1F RID: 15903 RVA: 0x000AAAF6 File Offset: 0x000A8CF6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FightMatch3ForceUpdateNotify.Descriptor;
			}
		}

		// Token: 0x06003E20 RID: 15904 RVA: 0x000AAAFD File Offset: 0x000A8CFD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightMatch3ForceUpdateNotify()
		{
		}

		// Token: 0x06003E21 RID: 15905 RVA: 0x000AAB05 File Offset: 0x000A8D05
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightMatch3ForceUpdateNotify(FightMatch3ForceUpdateNotify other) : this()
		{
			this.data_ = ((other.data_ != null) ? other.data_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003E22 RID: 15906 RVA: 0x000AAB3A File Offset: 0x000A8D3A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightMatch3ForceUpdateNotify Clone()
		{
			return new FightMatch3ForceUpdateNotify(this);
		}

		// Token: 0x170011C5 RID: 4549
		// (get) Token: 0x06003E23 RID: 15907 RVA: 0x000AAB42 File Offset: 0x000A8D42
		// (set) Token: 0x06003E24 RID: 15908 RVA: 0x000AAB4A File Offset: 0x000A8D4A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JDCEDDGFBGF Data
		{
			get
			{
				return this.data_;
			}
			set
			{
				this.data_ = value;
			}
		}

		// Token: 0x06003E25 RID: 15909 RVA: 0x000AAB53 File Offset: 0x000A8D53
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FightMatch3ForceUpdateNotify);
		}

		// Token: 0x06003E26 RID: 15910 RVA: 0x000AAB61 File Offset: 0x000A8D61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FightMatch3ForceUpdateNotify other)
		{
			return other != null && (other == this || (object.Equals(this.Data, other.Data) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003E27 RID: 15911 RVA: 0x000AAB94 File Offset: 0x000A8D94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.data_ != null)
			{
				num ^= this.Data.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003E28 RID: 15912 RVA: 0x000AABD0 File Offset: 0x000A8DD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003E29 RID: 15913 RVA: 0x000AABD8 File Offset: 0x000A8DD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003E2A RID: 15914 RVA: 0x000AABE1 File Offset: 0x000A8DE1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.data_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.Data);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003E2B RID: 15915 RVA: 0x000AAC14 File Offset: 0x000A8E14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.data_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Data);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003E2C RID: 15916 RVA: 0x000AAC54 File Offset: 0x000A8E54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FightMatch3ForceUpdateNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.data_ != null)
			{
				if (this.data_ == null)
				{
					this.Data = new JDCEDDGFBGF();
				}
				this.Data.MergeFrom(other.Data);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003E2D RID: 15917 RVA: 0x000AACA8 File Offset: 0x000A8EA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003E2E RID: 15918 RVA: 0x000AACB4 File Offset: 0x000A8EB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.data_ == null)
					{
						this.Data = new JDCEDDGFBGF();
					}
					input.ReadMessage(this.Data);
				}
			}
		}

		// Token: 0x040018A2 RID: 6306
		private static readonly MessageParser<FightMatch3ForceUpdateNotify> _parser = new MessageParser<FightMatch3ForceUpdateNotify>(() => new FightMatch3ForceUpdateNotify());

		// Token: 0x040018A3 RID: 6307
		private UnknownFieldSet _unknownFields;

		// Token: 0x040018A4 RID: 6308
		public const int DataFieldNumber = 1;

		// Token: 0x040018A5 RID: 6309
		private JDCEDDGFBGF data_;
	}
}
